package cn.com.service.impl;

import cn.com.beans.AdmissionInfo;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import cn.com.mapper.AdmissionInfoMapper;
import cn.com.service.AdmissionInfoService;
@Service
public class AdmissionInfoServiceImpl implements AdmissionInfoService{

    @Resource
    private AdmissionInfoMapper admissionInfoMapper;

    @Override
    public int deleteByPrimaryKey(Integer adId) {
        return admissionInfoMapper.deleteByPrimaryKey(adId);
    }

    @Override
    public int insert(AdmissionInfo record) {
        return admissionInfoMapper.insert(record);
    }

    @Override
    public int insertSelective(AdmissionInfo record) {
        return admissionInfoMapper.insertSelective(record);
    }

    @Override
    public AdmissionInfo selectByPrimaryKey(Integer adId) {
        return admissionInfoMapper.selectByPrimaryKey(adId);
    }

    @Override
    public int updateByPrimaryKeySelective(AdmissionInfo record) {
        return admissionInfoMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(AdmissionInfo record) {
        return admissionInfoMapper.updateByPrimaryKey(record);
    }

    @Override
    public AdmissionInfo findByCoid(Integer coId) {
        return admissionInfoMapper.findByCoid(coId);
    }

}
